﻿using NewRetail.Application.Components.Goods.Entity;
using NewRetail.Application.Components.Warehouse.Entity;
using NewRetail.Application.Core.Entity;
using System;

namespace NewRetail.Application.Components.Platform.Entity
{
    public class PosDaySum : BaseEntity, IWarehouseEntity
    {
        public string warehouseID { get; set; }
        public string goodsID { get; set; }
        /// <summary>
        /// 销售数量
        /// </summary>
        public decimal saleNum { get; set; }
        /// <summary>
        /// 退货数量
        /// </summary>
        public decimal returnNum { get; set; }
        /// <summary>
        /// 赠送数量
        /// </summary>
        public decimal giveNum { get; set; }
        /// <summary>
        /// 销售金额
        /// </summary>
        public decimal saleAmount { get; set; }
        /// <summary>
        /// 退货金额
        /// </summary>
        public decimal returnAmount { get; set; }
        /// <summary>
        /// 赠送金额
        /// </summary>
        public decimal giveAmount { get; set; }
        /// <summary>
        /// 销售单价
        /// </summary>
        public decimal savePrice { get; set; }
        public decimal preNum { get; set; }
        public decimal preAmount { get; set; }
        public string remark { get; set; }
        public DateTime opreateTime { get; set; }

        public Warehouse.Entity.Warehouse Warehouse { get; set; }
        public GoodsInfo GoodsInfo { get; set; }
    }
}
